package demo;

import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        Thread t = new Thread(
                new Runnable() {
                    @Override
                    public void run() {

                    }
                }
        );
    }
    public static void main5(String[] args) {
//        Outer.Inner inner = new Outer().new Inner();
//        System.out.println(inner.d);
        Outer.Inner inner = new Outer.Inner();
        System.out.println(inner.c);
    }
    public static void main4(String[] args) {
        Student student = new Student();
        System.out.println(student);
        System.out.println(Student.classroom);
    }
    public static void main3(String[] args) {
        Student student =new Student("张三",20,"2");
        System.out.println(student);
        System.out.println(Student.classroom);
    }
    public static void main1(String[] args) {
        int[] arr = {1,2,3,4,5};
        System.out.println(Arrays.toString(arr));
    }
    public static void main2(String[] args) {
        Student student =new Student("张三",20,"2");
        student.show();
        System.out.println(Student.classroom);
        System.out.println(student);
    }
}
